package com.net.device;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;

/**
 * create by cjx on 2024/7/15
 * desc:
 */
public interface DeviceApi {

    /**
     * 激活设备
     */
    @POST("/order/receive")
    @Headers({"Content-Type: application/json;charset=UTF-8"})
    Observable<ResponseBody> postOrder(@Body RequestBody requestBody);

}
